package com.jlcloud.core.secure;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * AuthInfo
 *
 * @author By: JlCloud <br>
 * @Package: com.jlcloud <br>
 * @CreateTime: 2024-12-03 21:45 <br>
 * @Copyright: 2021 www.jilianjituan.com Inc. All rights reserved. <br>
 * @Caution 注意：本内容仅限于冀联人力集团内部传阅，禁止外泄以及用于其他的商业目的 <br>
 */
@Data
@Schema(description = "认证信息")
public class AuthInfo {
	@Schema(description = "令牌")
	private String accessToken;
	@Schema(description = "令牌类型")
	private String tokenType;
	@Schema(description = "头像")
	private String avatar = "https://jlcloudx.cn/images/logo-small.png";
	@Schema(description = "角色名")
	private String authority;
	@Schema(description = "用户名")
	private String userName;
	@Schema(description = "账号名")
	private String account;
	@Schema(description = "过期时间")
	private long expiresIn;
	@Schema(description = "许可证")
	private String license = "powered by jlcloudx";
}
